<style type="text/css">
	/* Login form */
	#login-form{width: 100%}
	#login-form fieldset{
		width: 500px;
		margin: 100px auto;
	}
	#login-form fieldset legend {
		text-align: center;
		padding: 0px 5px;
	}
	#login-form table {
		width: 400px;
		display: block;
		margin: 30px auto;
	}
	#login-form .button-login {
		display: inline-block;
		float: right;
		margin: 20px 0px;
		width: 100px;
		height: 40px;
	}
</style>
<?php echo $this->element('slide'); ?>
<section id="content">
	<section id="left-bar">
		<div class="box-left">
			<h2>Tài khoản</h2>
			<div class="menu-left">
				<ul>
					<li>
						<?php echo $this->Html->link('<i class="fa fa-user"></i> Thông tin tài khoản', '/thong-tin-tai-khoan/' . $logged_in['id'] . '-' . $logged_in['alias'], array('escape' => false)); ?>
					</li>
					<li>
						<?php echo $this->Html->link('<i class="fa fa-key"></i> Đổi mật khẩu', '/doi-mat-khau', array('escape' => false));?>
					</li>
					<li>
						<?php echo $this->Html->link('<i class="fa fa-download"></i> Game đã download', '#', array('escape' => false)); ?>
					</li>
				</ul>
			</div>
		</div>
	</section>
	
	
	<section id="right-content">
		<div id="login-form">
			<fieldset>
				<legend>Đổi mật khẩu</legend>
				<?php echo $this->Session->flash(); ?>
				<?php echo $this->Form->create('User', array('inputDefaults' => array('label' => false))); ?>
				<table>
					<tr>
						<td width="200">Mật khẩu mới:</td>
						<td><?php echo $this->Form->input('password'); ?></td>
					</tr>
					<tr>
						<td>Nhập lại mật khẩu:</td>
						<td><?php echo $this->Form->input('confirm_password', array('type' => 'password')); ?></td>
					</tr>
					<tr>
						<td colspan="2"><?php echo $this->Form->submit('Đăng nhập', array('class' => 'button-login')); ?></td>
					</tr>
				</table>
				<?php echo $this->Form->end(); ?>
			</fieldset>
		</div>
	</section>
	
	
</section>